package com.wfs.spring.thread.two.t218;

/**
 * @Auther: wfs
 * @Date: 2019/6/11 20:14
 * @Description:
 */
public class Test {

    public static void main(String[] args) {
        Sub sub=new Sub();
        MyThreadA a=new MyThreadA(sub);
        a.setName("a");
        a.start();
        MyThreadB b=new MyThreadB(sub);
        b.setName("b");
        b.start();

    }
}
